package com.ruoyi.hcrf.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 *  库位主档 storage_master
 * 
 * @author wanglf
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("stock_master")
@ApiModel(value = "StockMaster对象", description = "库位")
public class StockMaster implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 库位 */
    @TableId(value = "location_id", type = IdType.AUTO)
    private String locationId;

    /** 库区 */
    @ApiModelProperty(value = "库区")
    private Integer wareHouse;

    /** 货架号 */
    @ApiModelProperty(value = "货架号")
    private String locationGoods;

    /** 层数 */
    @ApiModelProperty(value = "层数")
    private String layers;

    /** 状态 0：空闲 1：空桶 2：有货 3：退货 */
    @ApiModelProperty(value = "状态 0：空闲 1：空桶 2：有货 3：退货")
    private Integer storageStatus;

    /** 备注 */
    @ApiModelProperty(value = "备注")
    private String remark;

    /** 状态 0：启用 1：停用 */
    @ApiModelProperty(value = "状态 0：未占用 1：已占用 2-禁用")
    private Integer storageEnabled;

    @ApiModelProperty(value = "时间")
    private Date createTime;

    @ApiModelProperty(value = "使用者")
    private String createBy;

}
